import {createRouter, createWebHistory} from 'vue-router'
import TaskView from "@/views/task/TaskView.vue";
import VideoView2 from "@/views/video/VideoView2.vue";

const routes = [
  {
    path: '/task',
    name: 'task',
    component: TaskView
  },
  {
    path: '/',
    name: 'video',
    component: VideoView2
  },
  {
    path: '/m3u8/player',
    name: 'video',
    component: VideoView2
  },

]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
